﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    [Serializable]
    public class NhanVien
    {
        private string hanhDong;
        private int nhanVienID;
        private string maNhanVien;
        private string tenNhanVien;
        private DateTime ngaySinh;
        private Boolean gioiTinh;
        private string maPhongBan;
        private string tenPhongBan;
        private string dCThuongTru;
        private string dCTamTru;
        private string dienThoaiCD;
        private string dienThoaiDD;
        private string email;
        private string cMND;
        private DateTime ngayCap;
        private string noiCap;
        private string linkImage;
        private string linkImageRoot;
        private byte[] images;
        private System.Drawing.Image picture;
        private string ghiChu;
        private Boolean deleted;
        public NhanVien()
        { }
        public NhanVien(int nhanVienID, string maNhanVien, string tenNhanVien, DateTime ngaySinh, Boolean gioiTinh, string maPhongBan, string tenPhongBan, string dCThuongTru, string dCTamTru, string dienThoaiCD, string dienThoaiDD, string email, string cMND, DateTime ngayCap, string noiCap, string linkImage, string ghiChu, Boolean deleted)
        {
            this.nhanVienID = nhanVienID;
            this.maNhanVien = maNhanVien;
            this.tenNhanVien = tenNhanVien;
            this.ngaySinh = ngaySinh;
            this.gioiTinh = gioiTinh;
            this.maPhongBan = maPhongBan;
            this.tenPhongBan = tenPhongBan;
            this.dCThuongTru = dCThuongTru;
            this.dCTamTru = dCTamTru;
            this.dienThoaiCD = dienThoaiCD;
            this.dienThoaiDD = dienThoaiDD;
            this.email = email;
            this.cMND = cMND;
            this.ngayCap = ngayCap;
            this.noiCap = noiCap;
            this.linkImage = linkImage;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }
        public string HanhDong
        {
            get { return hanhDong; }
            set { hanhDong = value; }
        }
        public int NhanVienID
        {
            get { return this.nhanVienID; }
            set
            {
                this.nhanVienID = value;
            }
        }
        public string MaNhanVien
        {
            get { return this.maNhanVien; }
            set
            {
                this.maNhanVien = value;
            }
        }
        public string TenNhanVien
        {
            get { return this.tenNhanVien; }
            set
            {
                this.tenNhanVien = value;
            }
        }
        public DateTime NgaySinh
        {
            get { return this.ngaySinh; }
            set { this.ngaySinh = value; }
        }
        public Boolean GioiTinh
        {
            get { return this.gioiTinh; }
            set { this.gioiTinh = value; }
        }
        public string MaPhongBan
        {
            get { return this.maPhongBan; }
            set
            {
                this.maPhongBan = value;
            }
        }
        public string TenPhongBan
        {
            get { return this.tenPhongBan; }
            set { this.tenPhongBan = value; }
        }
        public string DCThuongTru
        {
            get { return this.dCThuongTru; }
            set { this.dCThuongTru = value; }
        }
        public string DCTamTru
        {
            get { return this.dCTamTru; }
            set { this.dCTamTru = value; }
        }
        public string DienThoaiCD
        {
            get { return this.dienThoaiCD; }
            set { this.dienThoaiCD = value; }
        }
        public string DienThoaiDD
        {
            get { return this.dienThoaiDD; }
            set { this.dienThoaiDD = value; }
        }
        public string Email
        {
            get { return this.email; }
            set { this.email = value; }
        }
        public string CMND
        {
            get { return this.cMND; }
            set
            {
                this.cMND = value;
            }
        }
        public DateTime NgayCap
        {
            get { return this.ngayCap; }
            set { this.ngayCap = value; }
        }
        public string NoiCap
        {
            get { return this.noiCap; }
            set { this.noiCap = value; }
        }
        public string LinkImage
        {
            get { return this.linkImage; }
            set { this.linkImage = value; }
        }
        public string LinkImageRoot
        {
            get { return linkImageRoot; }
            set { linkImageRoot = value; }
        }
        public byte[] Images
        {
            get { return images; }
            set { images = value; }
        }
        public System.Drawing.Image Picture
        {
            get { return picture; }
            set { picture = value; }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public Boolean Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }
    }
}
